<?php

echo '<fieldset><legend>Dados</legend>';
echo $this->Form->create('Disciplina');
echo $this->Form->input('id');
echo $this->Form->input('nome',array('type'=>'text','class' => 'tamanho100', 'label'=> __('Nome'),'maxlength'=>100));
echo '<div style="clear:both;"></div>';
echo $this->Form->input('nomered',array('type'=>'text','class' => 'tamanho50', 'label'=> __('Nome Reduzido'),'maxlength'=>50));
echo $this->Form->input('tipo',array('type' => 'select', 'empty' => 'Selecione...', 'options' => $carregar_tipo, 'label' => __('Tipo Disciplina')));
echo '<div class="botoes_form">';
echo $this->Form->button('Salvar', array('type' => 'submit'));
echo $this->Form->button('Voltar', array('type'=>'button', 'onClick' => "javascript:location='{$this->request->base}/{$this->request->controller}/index'"));
echo '</div>'; 
echo $this->Form->end();
echo '</fieldset>';